Types
Constants​
Scheme
​
Encryption scheme for price messages. Currently there is only one option, however more options may be offered in the future.
enum Scheme {
ECDSA
}
ECDSA
: Price messages are signed with Elliptic Curve Digital Signature Algorithm encryption.
AuthTokenCodes
​
Response codes for auth token verification.
enum AuthTokenCode {
VALID,
EXPIRED,
NOT_YET_VALID,
INVALID_SIGNATURE,
INVALID_VERSION,
MALFORMED_TOKEN,
SIGNER_NOT_AUTHORIZED
}
VALID
: Auth token is validEXPIRED
: Auth token end time has passedNOT_YET_VALID
: Auth token start time has not yet occurredINVALID_SIGNATURE
: The auth tokensigner
field and recovered signature do not matchINVALID_VERSION
: The auth token is using an unrecognized versionMALFORMED_TOKEN
: The auth token has some other error not covered by the other codesSIGNER_NOT_AUTHORIZED
: The token signer is not authorized by Chronicle